import Layout from '@/layout';

const aiCenterRouter = {
  path: '/aiCenter',
  component: Layout,
  redirect: '/aiCenter/model',
  name: 'aiCenter',
  meta: {
    title: 'AI中心',
    icon: 'clipboard',
  },
  children: [
    {
      path: 'model',
      component: () => import('@/views/aiCenter/model'),
      name: 'model',
      meta: { title: '模型管理', icon: '' },
    },
    {
      path: 'fitting',
      component: () => import('@/views/aiCenter/fitting'),
      name: 'fitting',
      meta: { title: '试衣记录', icon: '' },
    },
    {
      path: 'imgTovideo',
      component: () => import('@/views/aiCenter/imgTovideo'),
      name: 'imgTovideo',
      meta: { title: '图生视频', icon: '' },
    },
    {
      path: 'backPage',
      component: () => import('@/views/aiCenter/backPage'),
      name: 'backPage',
      meta: { title: '背景管理', icon: '' },
    },
  ],
};

export default aiCenterRouter;
